<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:panel style="width:100%">
		<h:panelGrid columns="2" style="width:100%">
			<h:outputText value="Year"></h:outputText>
			<h:outputText value="#{weeklyModel.current.year}">				
			</h:outputText>
			<h:outputText value="Week of Year"></h:outputText>
			<h:outputText value="#{weeklyModel.current.weekOfYear}">
			</h:outputText>
			<h:outputText value="Date"></h:outputText>
			<h:panelGroup id="dateRangePanel">
				<h:outputText value="From   "></h:outputText>
				<h:outputText value="#{weeklyModel.current.startDateLabel}"></h:outputText>
				<h:outputText value="  To  "></h:outputText>
				<h:outputText value="#{weeklyModel.current.endDateLabel}  "></h:outputText>
			</h:panelGroup>
		</h:panelGrid>
		<p:tabView>
			<p:tab title="English">
				<h:panelGrid columns="2" style="width:100%">
					<h:outputText value="Title" />
					<h:outputText value="#{weeklyModel.current.title}"
						style="width:100%" />
					<h:outputText value="Comments" />
					<p:inputTextarea value="#{weeklyModel.current.comments}"
						style="width:100%" disabled="true"></p:inputTextarea>
				</h:panelGrid>
			</p:tab>
			<p:tab title="Chinese">
				<h:panelGrid columns="2" style="width:100%">
					<h:outputText value="Title" />
					<h:outputText value="#{weeklyModel.current.chineseTitle}"
						style="width:100%" />
					<h:outputText value="Comments" />
					<p:inputTextarea value="#{weeklyModel.current.chineseComments}"
						style="width:100%" disabled="true"></p:inputTextarea>
				</h:panelGrid>
			</p:tab>
			<p:tab title="French">
				<h:panelGrid columns="2" style="width:100%">
					<h:outputText value="Title" />
					<h:outputText value="#{weeklyModel.current.frenchTitle}"
						style="width:100%" />
					<h:outputText value="Answer" />
					<p:inputTextarea value="#{weeklyModel.current.frenchComments}"
						style="width:100%" disabled="true"></p:inputTextarea>
				</h:panelGrid>
			</p:tab>
		</p:tabView>
	</p:panel>
</ui:composition>
</html>